import http from '@/utils/request'

export function getOrderDetail(orderId) {
	return http.get('/shop/orderDetail/search/' + orderId)
}

export function getSummaryOrderDetail(orderId) {
	return http.get('/shop/orderDetail/summary/' + orderId)
}

export function completeOrder(params) {
	return http.post('/shop/order/complete', params)
}

export function getMyShopName() {
	return http.get("/shop/my/shopname")
}

export function confirmOrder(orderId) {
	return http.get('/shop/order/confirm/' + orderId)
}
